package cn.easier.activity.console.vo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 用户券码详情
 */
public class CouponCodeDetailsVo {
    private String phoneNum; //用户
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate; //获取日期
    private String activityName; //活动名称
    private String prizeName; //奖品名称
    private String prizeTypeName; //奖品类型
    private boolean isAwarded; //是否中奖
    private String exchangeStateName; //是否兑换
    private Integer bill; //奖品面额 充值流量或者话费的面额，单位MB或者分

    private String url; //H5券码url
    private String couponTypeName; //券码类型
    private String code; //券码
    private String secretKey; //密码

    @Override
    public String toString() {
        return "CouponCodeDetailsVo{" +
                "phoneNum='" + phoneNum + '\'' +
                ", createDate=" + createDate +
                ", activityName='" + activityName + '\'' +
                ", prizeName='" + prizeName + '\'' +
                ", prizeTypeName='" + prizeTypeName + '\'' +
                ", isAwarded=" + isAwarded +
                ", exchangeStateName='" + exchangeStateName + '\'' +
                ", bill=" + bill +
                ", url='" + url + '\'' +
                ", couponTypeName='" + couponTypeName + '\'' +
                ", code='" + code + '\'' +
                ", secretKey='" + secretKey + '\'' +
                '}';
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getPrizeName() {
        return prizeName;
    }

    public void setPrizeName(String prizeName) {
        this.prizeName = prizeName;
    }

    public String getPrizeTypeName() {
        return prizeTypeName;
    }

    public void setPrizeTypeName(String prizeTypeName) {
        this.prizeTypeName = prizeTypeName;
    }

    public boolean isAwarded() {
        return isAwarded;
    }

    public void setAwarded(boolean awarded) {
        isAwarded = awarded;
    }

    public String getExchangeStateName() {
        return exchangeStateName;
    }

    public void setExchangeStateName(String exchangeStateName) {
        this.exchangeStateName = exchangeStateName;
    }

    public Integer getBill() {
        return bill;
    }

    public void setBill(Integer bill) {
        this.bill = bill;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCouponTypeName() {
        return couponTypeName;
    }

    public void setCouponTypeName(String couponTypeName) {
        this.couponTypeName = couponTypeName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }
}
